package cn.amaake.magicplugin.rpc.model;

import org.ssssssss.magicapi.core.model.JsonBean;
import org.ssssssss.magicapi.core.model.JsonCode;

import java.io.Serializable;

public class RpcJsonBean<T> extends JsonBean<T> implements Serializable  {

    public RpcJsonBean(int code, String message) {
        super(code, message);
    }

    public RpcJsonBean(int code, String message, T data, Integer executeTime) {
        super(code, message, data, executeTime);
    }

    public RpcJsonBean(int code, String message, T data) {
        super(code, message, data);
    }

    public RpcJsonBean() {
    }

    public RpcJsonBean(JsonCode jsonCode) {
        super(jsonCode);
    }

    public RpcJsonBean(JsonCode jsonCode, T data) {
        super(jsonCode, data);
    }

    public RpcJsonBean(T data) {
        super(data);
    }

}
